package PEncapsulation;

public class Teacher extends Person{
    @Override
    public void show() {
        System.out.println("老师的姓名：" + getName() + " 老师的年龄：" + getAge());
    }
}
